a {
  color: #666;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

body {
  background-color: #f5f5f5;
}

body .container {
  background-color: #fff;
}

/* 根据设计稿，当屏幕宽度大于等于 1280px 时将 .container 最大宽度改为 1280px */
@media screen and (min-width: 1280px) {
  .container {
    width: 1280px;
  }
}

/* 左侧 */

.header {
  padding-left: 0;
}

.logo {
  background-color: #429ad9;
}

.logo img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.logo span {
  display: block;
  text-align: center;
  font-size: 18px;
  height: 50px;
  line-height: 50px;
  color: #fff;
}

@media screen and (max-width: 992px) {
  .nav li {
    float: left;
    width: 20%;
  }
}

@media screen and (max-width: 768px) {
  .nav li a {
    text-align: center;
    padding: 0 3px;
    font-size: 14px;
  }

  .news ul li {
    width: 50%;
  }

  .news ul li:nth-child(1) {
    width: 100%;
    padding-right: 0;
  }

  .publish h3 {
    font-size: 16px;
  }
}

.nav {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
}

.nav a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 30px;
  font-size: 16px;
}

.nav a:hover {
  background-color: #fff;
  color: #333;
}

.nav a::before {
  vertical-align: middle;
  padding-right: 5px;
}

/* 中间 */

.row article,
.row aside {
  margin-top: 10px;
}

.news li {
  float: left;
  width: 25%;
  height: 128px;
  padding-right: 10px;
  margin-bottom: 10px;
}

.news li:nth-child(3),
.news li:nth-child(5) {
  padding-right: 0;
}

.news li a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.news li a img {
  width: 100%;
  height: 100%;
}

.news li p {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 41px;
  padding: 5px 10px;
  background: rgba(0, 0, 0, .5);
  font-size: 12px;
  color: #fff;
  margin: 0;
}

.news li:nth-child(1) {
  width: 50%;
  height: 266px;
}

.news li:nth-child(1) p {
  font-size: 20px;
  line-height: 41px;
  padding: 0 10px;
}

.publish {
  overflow: hidden;
  border-top: 1px solid #ccc;
}

.publish .row {
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

.pic {
  margin: 10px 0;
}

.pic img {
  width: 100%;
}

/* 右侧 */

.banner img {
  width: 100%;
}

.hot {
  position: relative;
  display: block;
  margin: 20px 0;
  border: 1px solid #ccc;
  padding: 0 20px 10px;
}

.hot span {
  color: #fff;
  background-color: #3a78b7;
  position: absolute;
  display: block;
  top: 0;
  left: 20px;
  width: 53px;
  height: 33px;
  line-height: 33px;
  text-align: center;
}

.hot h4 {
  margin-top: 50px;
  color: #4a77b2;
}